﻿// © 2005 IDesign Inc. All rights reserved 
//Questions? Comments? go to 
//http://www.idesign.net

using System;
using System.Web.Security;
using System.Web.Services;

[WebService(Name="IMembershipManager",Namespace="http://CredentialsServices",
Description="IMembershipManager provides methods for managing users, including creating, updating and deleting users. This web service is only the definition of the interface. You cannot invoke method calls on it.")]
abstract class IMembershipManagerShim : IMembershipManager
{
   public abstract MembershipCreateStatus CreateUser(string application,string userName,string password,string email,string passwordQuestion,string passwordAnswer,bool isApproved);
   public abstract bool DeleteUser(string application,string userName,bool deleteAllRelatedData);
   public abstract void DeleteAllUsers(string application,bool deleteAllRelatedData);
   public abstract string GetUserNameByEmail(string application,string email);
   public abstract int GetNumberOfUsersOnline(string application);
   public abstract void UpdateUser(string application,string userName,string email,string oldAnswer,string newQuestion,string newAnswer,bool isApproved,bool isLockedOut);
   public abstract int UserIsOnlineTimeWindow(string application);
   public abstract string[] GetAllUsers(string application);
   public abstract UserInfo GetUserInfo(string application,string userName);
}
